﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Web.Views.AgentManager
{
    public partial class OrderList : System.Web.UI.Page
    {
        public int AgentID =0;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                AgentID = Easydp.Controllers.AgentController.AgentInfo.AgentID;
            }
        }

        public string S(int state)
        {
            switch (state)
            {
                case 1:
                    return "未支付新订单";
             
                case 2:
                    return "已支付等待出票";
                  
                case 3:
                    return "出票完成";
                
                case 4:
                    return "退票";
             
                default:
                    return "";
            }
            //return "";
        }


     

       
        protected void Button3_Click(object sender, EventArgs e)
        {

            GridView1.DataBind();
        }

      
        
    }
}
